Page({
  data: {
    click:true,//图标点击事件
    inputShowed: false,  //初始文本框不显示内容
//导航栏1
categoryList0: {
  pageone: [{
    link:'../znwd/znwd',
    url: "/pages/home/home",
    name: "由症状判断病症类型对挂号门诊进行指导",
    src: "/signals/智能问答.png",
    
  }, {
     link:'../fy/fy',
     name: "新冠病毒最新资讯通道以及分布情况",
     src: "/signals/肺炎专区.png",
     url: "/pages/home/home"
  }, 
    ]
},
// 导航栏2
 categoryList: {
  pagetwo: [{
    link:'../yuyue/yuyue',
    url: "/pages/home/home",
    name: "预约挂号",
    src: "/signals/预约挂号.png",
    
  }, {
     link:'../hz/hz',
     name: "报道候诊",
     src: "/signals/报道候诊.png",
     url: "/pages/home/home"
  }, {
     link:'../mz/mz',
     name: "门诊叫号",
     src: "/signals/门诊叫号.png",
     url: "/pages/home/home"
  }, {     
     link:'../jf/jf',
     name: "缴费清单",
     src: "/signals/缴费清单.png",
     url: "/pages/home/home"
  }, 
    ]
}
  },

  // 搜索栏
  // 使文本框进入可编辑状态
  showInput: function () {
    this.setData({
      inputShowed: true   //设置文本框可以输入内容
    });
  },
  // 取消搜索
  hideInput: function () {
    this.setData({
      inputShowed: false
    });
  }

 })
